const url='https://m.douban.com/rexxar/api/v2/subject_collection/movie_showing/items?count=10'
const urll='https://m.douban.com/rexxar/api/v2/subject_collection/tv_hot/items?count=10'
const urlll='https://m.douban.com/rexxar/api/v2/subject_collection/tv_variety_show/items?count=10'
Page({
  onLoad(){
    wx.request({
    url,
    success: res =>{
      console.log(res)
      this.setData({
        movielist: res.data.subject_collection_items
      })
    }
  }),
  wx.request({
    url:urll,
    success: res =>{
      console.log(res)
      this.setData({
        dianshi: res.data.subject_collection_items
      })
    }
  }),
  wx.request({
    url:urlll,
    success: res =>{
      console.log(res)
      this.setData({
        zongyi: res.data.subject_collection_items
      })
    }
  })
  }
})